/* Funds Modal Overlay */
.funds-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

/* Modal Content Box */
.funds-modal-content {
    background: transparent;
    width: 900px;
    height: 570px;
    display: flex;
    gap: 0;
}

/* Sidebar Styling */
.funds-modal-content .account-sidebar {
    width: 200px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e8e8e8;
    border-radius: 12px 0 12px 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Right Column */
.funds-modal-content .account-right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header Card */
.funds-modal-content .account-header-card {
    background: linear-gradient(90deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e8e8e8;
    border-left: none;
    border-radius: 0 12px 12px 0;
    padding: 16px 40px 16px 60px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    box-shadow: 8px 4px 24px rgba(0, 0, 0, 0.06);
}

/* Main Panel */
.funds-panel {
    flex: 1;
    padding: 32px 48px;
    margin-left: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    flex-direction: column;
}

.funds-header {
    text-align: right;
    margin-bottom: 16px;
}

.view-details-link {
    font-size: 13px;
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

.view-details-link:hover {
    color: #333;
}

/* Balance Display */
.balance-display {
    margin-top: 20px;
    margin-bottom: 60px;
    display: flex;
    align-items: baseline;
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
}

.currency-symbol {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-right: 8px;
}

.balance-amount {
    font-size: 56px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #1a1a1a 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Balance Card (optional enhancement) */
.balance-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.balance-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Action Buttons */
.funds-actions {
    display: flex;
    gap: 250px;
    margin-top: 0;
    padding-bottom: 0;
}

.funds-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 36px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 3px;
}

.funds-btn:hover {
    background: #000;
}

.funds-btn.refund-btn {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.funds-btn.refund-btn:hover {
    background: #fff;
}

/* Quick Stats */
.funds-stats {
    display: flex;
    gap: 32px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.stat-label {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
